package cn.wjzhang.middle.beans.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;

/**
 * ========================
 * 二维码请求参数
 *
 * @author wjzhang
 * @version v1.0
 * ========================
 * @date 2023/6/29 14:28
 */
@Setter
@Getter
@ToString
@ApiModel(value = "MidShortMesRequest", description = "二维码请求参数")
public class QrRequest {

    @ApiModelProperty(value = "内容", required = true)
    @NotNull(message = "内容不能为空")
    private String content;

    @ApiModelProperty(value = "宽度")
    private int width = 100;

    @ApiModelProperty(value = "高度")
    private int height = 100;

    public QrRequest(){};

}
